home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/mman.h>
- #include <time.h>
- #include <string.h>
-
- #define DELIMITER ','
-
- #define CALL 0
- #define LNAME 1
- #define JR 2
- #define FNAME 3
- #define MI 4
- #define DOB 5
- #define EFDATE 6
- #define EXPDATE 7
- #define MAIL_STR 8
- #define MAIL_CITY 9
- #define MAIL_ST 10
- #define MAIL_ZIP 11
- /*
- #define LOC_STR xx
- #define LOC_CITY xx
- #define LOC_ST xx
- */
- #define CLASS 12
- #define P_CALL 13
- #define P_CLASS 14
- /*
- #define P_DAT xx
- */
-
-
- typedef struct nind
- {
- char name[22];
- long pos;
- }NIND;
-
- typedef struct cind
- {
- char call[8];
- long pos;
- }CIND;
-
- int cmp_node();
- int cmp_name();
-